package org.jeecg.modules.xxgx.fpgl.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

@Data
@ApiModel(value="object", description="已开发票作废请求对象")
public class FpzfDto {

    @ApiModelProperty(value = "开票终端代码",required = true)
    @NotBlank(message = "开票终端代码不能为空！")
    private String kpzddm;

    @ApiModelProperty(value = "发票代码",required = true)
    @NotBlank(message = "发票代码不能为空！")
    private String fpdm;

    @ApiModelProperty(value = "发票号码",required = true)
    @NotBlank(message = "发票号码不能为空！")
    private String fphm;

    @ApiModelProperty(value = "作废类型",hidden = true)
    private String zflx = "1";

    @ApiModelProperty(value = "作废人",required = true)
    @NotBlank(message = "作废人不能为空！")
    private String zfr;
}
